home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: axl@zedat.fu-berlin.de (Axel Thimm)
- Newsgroups: comp.lang.c,comp.lang.c++,comp.lang.c.moderated,comp.lang.c++.moderated
- Subject: Re: Link FORTRAN and C Programs?
- Date: 21 Jan 1996 20:54:46 -0600
- Organization: FU Berlin
- Sender: clc@solutions.solon.com
- Approved: clc@solutions.solon.com
- Message-ID: <4duu9m$54a@solutions.solon.com>
- References: <4dp6lq$6o5@catapult.gatech.edu> <822099397snz@genesis.demon.co.uk>
- Reply-To: axl@zedat.fu-berlin.de
- NNTP-Posting-Host: solutions.solon.com
- X-Access: 16 17 19
- X-Newsreader: Forte Free Agent 1.0.82
-
- Lawrence Kirby <fred@genesis.demon.co.uk> wrote:
- >In article <4dp6lq$6o5@catapult.gatech.edu>
- > af39@acmex.gatech.edu "Atif Faheem" writes:
- >>I am trying to link fortran object files created with the "f77" compiler
- >>on Sun with output files compiled using the "gcc" C compiler on the SUN.
- >This is highly system specific and the C language itself provides no
- >help for this. Try a Sun related newsgroup. The f77 documentation should
- >tell you how to do this.
-
- Linking Fortran Programs with C/C++ can be highly system specific, but I
- think there are effords to overcome this. I believe there should be a
- fortran.h Header File for every system to call Fortran form C/C++ code.
- Calling Fortran from C/C++ can be very important, when using Libraries
- written in Fortran, like the NAG-Lib (there is also a C-version) and
- MINUIT.
- Maybe someone has experience with calling Fortran from C/C++ in a
- system-independend way and will post a follow up.
-
- ===
- Axel Thimm <axl@zedat.fu-berlin.de>
- Freie Universitaet Berlin
- ===
-